<script setup>
import fieldModel from "@/models/fieldModel.js"
import { defineProps } from "vue";

const { meta, vm } = defineProps(["meta", "vm"]);
const dataModel = vm.getModelRef(meta.model);
const field = fieldModel(vm, dataModel, meta);
</script>

<template>
  <el-text>
    {{ field.displayValue }}
  </el-text>
</template>